﻿using SharpArch.Core.DomainModel;
using SharpArch.Core.PersistenceSupport;
using NHibernate.Validator.Constraints;
using SharpArch.Core;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace zeus.Core
{
    public class Alerta : Entity
    {
        [Required(ErrorMessage = "Ingrese  Fecha ")]
        [DisplayName("Fecha")]
        public virtual string Fecha { get; set; }

        [Required(ErrorMessage = "Ingrese  latitud ")]
        [DisplayName("Latitud")]
        public virtual string Latitud { get; set; }

        [Required(ErrorMessage = "Ingrese  Longitud ")]
        [DisplayName("Longitud")]
        public virtual string Longitud { get; set; }

        [Required(ErrorMessage = "Ingrese  Codigo Unidad")]
        [DisplayName("Codigo Unidad")]
        public virtual Unidad CodigoUnidad { get; set; }
    }
}
